
$(function () {
    $("#meeting-delete .btn-save").click(function () {
        var ids = $("input[name='meetingDeleteId']").val();
        var option = $("input[type=radio][name=deleteOption]:checked").val();
        console.log(option);
        console.log(ids);
        if(option == '0') {
            doDeleteMeeting(ids);
        } else {
            doDeleteMeeting(ids, option);
        }
    });

    $("#meeting-delete .btn-close").click(function () {
        $MB.closeAndRestModal("meeting-delete");
    });
});
